import BaseApi from '../BaseApi';

const controller = "/difference";

export default {

    postListDifferencePage(condition) {
        return this.requestPost(controller, "/listDifferencePage", condition);
    },

    postUpdateDifference(condition) {
        return this.requestPost(controller, "/updateDifference", condition);
    },

    /*请求封装*/
    requestPost(controller, url, condition) {
        let newUrl = controller + url;
        return BaseApi.requestPost(newUrl, condition);

    },
}